import greenfoot.*;  // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)

/**
 * Write a description of class bulletGE here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class bulletGE extends Bala
{
    /**
     * Act - do whatever the bulletGE wants to do. This method is called whenever
     * the 'Act' or 'Run' button gets pressed in the environment.
     */
    int dir=0;
    int by;
    public bulletGE(int dir)
    {
        this.dir=dir;
        if(dir==2)
            setRotation(180);
        
    }
    public void act() 
    {
      move(dir);
    }    
    
}
